home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2000 February
/
PCWorld_2000-02_cd.bin
/
Software
/
Vyzkuste
/
xsetup
/
_SETUP.2
/
Group3
/
XQ CMD Options 1.xpl
< prev
next >
Wrap
Text File
|
1999-10-17
|
1KB
|
50 lines
"FILE"="Xteq Systems X-Setup Plugin 5.0"
"TYPE"="6"
"COUNT"="1"
"UIPATH"="System\Security"
"NAME"="Disable DOS Box"
"VERSION"="1.03"
"LANGUAGE"="VBScript"
"TEXT 1"="Disable starting a DOS Box"
"DESCRIPTION 1"="If this option is set, the current user is no longer allowed to start a DOS box (COMMAND.COM)."
"AUTHOR"="Xteq Systems"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
sPath="HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\WinOldApp\Disabled"
Sub Plugin_Initialize
If GetWinVer=1 or GetWinVer=3 then
i=RegReadValue(sPath)
if i=1 then
Call SetUIElement(1,true)
end if
else
Call Disable()
end if
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
b=GetUIElement(1)
if b=true then
Call RegWriteValue(sPath,1,2)
else
s=RegReadValue(sPath)
if IsEmpty(s)=false then
Call RegDeleteValue(sPath)
end if
end if
End Sub
Sub Plugin_Terminate
End Sub